<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/resource/UserPwoer.tld" prefix="p"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	pageContext.setAttribute("fnId", request.getAttribute("fnId"));
	pageContext.setAttribute("userPwoer", request.getSession()
			.getAttribute("userPwoer"));
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<LINK rel="Bookmark" href="../images/favicon.ico">
<!-- 本框架基本脚本和样式 -->
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/MBase.js"></script>
<link rel="stylesheet" href="${path }/resource/css/answer-question-list.css">
</head>
<body class="gray-bg">
	<div class="ibox-content wrap">
		<div class="inner">
			<div class="con">
				<form class="form-horizontal" id="dataform"
					onsubmit="javascript:return false;">
					<div class="question">
						<h4>1、冬季工作时间？</h4>
						<div class="answer">
							<label><input name="answer1" type="radio" value="a" />A、8:30-17:30 </label>
							<label><input name="answer1" type="radio" value="b" />B、9:00-18:00</label>
							<label><input name="answer1" type="radio" value="c" />C、9:30-18:30</label>
							<label><input name="answer1" type="radio" value="d" />D、10:00-19:00</label>
						</div>
					</div>
					<div class="question">
						<h4>2、当月未打卡___次则扣除全勤？</h4>
						<div class="answer">
							<label><input name="answer2" type="radio" value="a" />A、1次</label>
							<label><input name="answer2" type="radio" value="b" />B、2次</label>
							<label><input name="answer2" type="radio" value="c" />C、3次</label>
							<label><input name="answer2" type="radio" value="d" />D、4次</label>
						</div>
					</div>
					<div class="question">
						<h4>3、未打卡罚款金额为______？</h4>
						<div class="answer">
							<label><input name="answer3" type="radio" value="a" />A、10元/次</label>
							<label><input name="answer3" type="radio" value="b" />B、20元/次</label>
							<label><input name="answer3" type="radio" value="c" />C、30元/次</label>
							<label><input name="answer3" type="radio" value="d" />D、50元/次</label>
						</div>
					</div>
					<div class="question">
						<h4>4、调休是否能调休半天？</h4>
						<div class="answer">
							<label><input name="answer4" type="radio" value="a" />A、是</label>
							<label><input name="answer4" type="radio" value="b" />B、否</label>
						</div>
					</div>
					<div class="question">
						<h4>5、晚加班几点之后有加班补贴？</h4>
						<div class="answer">
							<label><input name="answer5" type="radio" value="a" />A、20:30</label>
							<label><input name="answer5" type="radio" value="b" />B、21:00</label>
							<label><input name="answer5" type="radio" value="c" />C、21:30</label>
							<label><input name="answer5" type="radio" value="d" />D、22:00</label>
						</div>
					</div>
					<div class="question">
						<h4>6、调休是否可累计到下一年？</h4>
						<div class="answer">
							<label><input name="answer6" type="radio" value="a" />A、是</label>
							<label><input name="answer6" type="radio" value="b" />B、否</label>
						</div>
					</div>
					<div class="question">
						<h4>7、入职满1年的员工有几天年假？</h4>
						<div class="answer">
							<label><input name="answer7" type="radio" value="a" />A、1天</label>
							<label><input name="answer7" type="radio" value="b" />B、2天</label>
							<label><input name="answer7" type="radio" value="c" />C、3天</label>
							<label><input name="answer7" type="radio" value="d" />D、4天</label>
						</div>
					</div>
					<div class="question">
						<h4>8、每名转正员工全年有几天带薪病假？</h4>
						<div class="answer">
							<label><input name="answer8" type="radio" value="a" />A、1天</label>
							<label><input name="answer8" type="radio" value="b" />B、2天</label>
							<label><input name="answer8" type="radio" value="c" />C、3天</label>
							<label><input name="answer8" type="radio" value="d" />D、4天</label>
						</div>
					</div>
					<div class="question">
						<h4>9、无故旷工一天普通员工罚款___元？</h4>
						<div class="answer">
							<label><input name="answer9" type="radio" value="a" />A、100元</label>
							<label><input name="answer9" type="radio" value="b" />B、200元</label>
							<label><input name="answer9" type="radio" value="c" />C、300元</label>
							<label><input name="answer9" type="radio" value="d" />D、400元</label>
						</div>
					</div>
					<div class="question">
						<h4>10、当月工资发放日为：</h4>
						<div class="answer">
							<label><input name="answer10" type="radio" value="a" />A、当月10号</label>
							<label><input name="answer10" type="radio" value="b" />B、当月15号</label>
							<label><input name="answer10" type="radio" value="c" />C、当月20号</label>
							<label><input name="answer10" type="radio" value="d" />D、当月25号</label>
						</div>
					</div>
					
					<div class="form-group ">
						<div class="col-sm-12 text-center">
							<a href="javascript:;" onclick="myForm.submit()"
								class="btn btn-success radius">完成答题</a>&nbsp;&nbsp;&nbsp;&nbsp;
							<button onclick="MTools.closeForm()"
								class="btn btn-danger radius" type="button">取消</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>

	<script type="text/javascript">
		var myForm = MForm
				.initForm({
					invokeUrl : "${path}/admin/taskExecution/comparisonQuestion1Answer",
					afterSubmit : function(loj) {
						if (loj.getValue("info") == '新手必读任务问题全部回答正确') {
							parent.layer.close();
							parent.parent.location.reload();
						}
					}
				});
	</script>
</body>
</html>
